
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.container {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(200deg, pink, #918ef9);
}
.item {
  width: 240px;
  height: 160px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-radius: 10px;
  background-color: pink;
  background-size: cover;
  background-position: center;
  transition: all 1s;
  box-shadow: 0 30px 50px #505050;
}
.item:nth-child(1),
.item:nth-child(2) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translateY(0);
  box-shadow: none;
  border-radius: 0;
}
.item:nth-child(3) {
  left: 70%;
}
.item:nth-child(4) {
  left: calc(70% + 250px);
}
.item:nth-child(5) {
  left: calc(70% + 500px);
}
.item:nth-child(n + 6) {
  left: calc(70% + 750px);
}
.buttons {
  width: 100%;
  position: absolute;
  bottom: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
}
.buttons div {
  width: 120px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 5px;
  margin: 0 25px;
  font-size: 18px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  user-select: none; /* 禁止用户选择 */
}
